using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form;
using XDQ.VAT.Classes;

namespace XDQ.VAT.Web.Pages.Exams.AppExam.ViewModels
{
    public class CreateEditAppExamViewModel
    {
        public List<SelectListItem> Classes { get; set; }
        public List<SelectListItem> Courses { get; set; }

        [Display(Name = "AppExamName")]
        public string Name { get; set; }

        [Display(Name = "AppExamExamOnDate")]
        public DateTime? ExamOnDate { get; set; }

        [SelectItems(nameof(Courses))]
        [Display(Name = "AppExamCourseId")]
        public Guid? CourseId { get; set; }

        [SelectItems(nameof(Classes))]
        [Display(Name = "AppExamClassId")]
        public Guid? ClassId { get; set; }

    }


}